import {getSession} from "@/util/localCache";
import {useStore} from "@/pinia";
import XEUtils from "xe-utils";

const storeInit = async () => {
    let store = useStore()
    await store.ChangeState('login',getSession("login"))
    await store.ChangeState('tabArr',getSession("tabArr"))
    await store.ChangeState('tabValue',getSession("tabValue"))
}

const init = async () => {
    await storeInit()
};

export default init